<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body>
<nav th:replace="layouts::navbar"></nav>
<div class="container">
    <form th:action="@{/overTimes/save}" th:object="${overTime}" method="POST">
<!--用于更新违约信息时获得被点击的违约的Id-->
        <input type="hidden" th:field="${overTime.overTimeId}">
        <input type="date" value="2025-12-30" min="2021-12-12" max="2022-12-30"/>
        <input type="text" placeholder="违规天数"  th:field="*{overTime}">
        <input type="text" placeholder="违规次数" th:field="*{disobey}">

        <button type="submit" class="btn btn-default btn-sm">确定</button>
    </form>
</div>
</body>
</html>